← Back to issue list

cmake: Shouldn't use sourcedir for building

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1825797
Type
issue
State
open
Author
~brlin
Labels
Created
2019-04-22 08:08:14.506146+00:00
Updated
2019-04-22 08:08:14.506146+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Currently cmake plugin runs configuration using the files in SNAPCRAFT_PART_SRC, IMO it should copy them to SNAPCRAFT_PART_BUILD and run against it so that one can patch these files in the build step (before running `snapcraftctl build`). https://github.com/snapcore/snapcraft/blob/3d4483d6f48d7cc212b9b472438758881252a08a/snapcraft/plugins/cmake.py#L114

Evaluation history

No evaluation history available.